<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"  crossorigin="anonymous">

</head>
<body>
<div class="container border mt-4">
  <div class="row g-3">
    <div class="col-4 border">
      Column
    </div>
    <div class="col-6 border">
      Column
    </div>
    <div class="col-2 border">
      Column
    </div>

    <div class="col-6 border">
      Column
    </div>
    <div class="col-6 border">
      Column
    </div>
  </div>
</div>

<div class="container border mt-4">
  <div class="row">
    <div class="col-4 col-sm-12 col-md-8 border">内容</div>
  </div>
</div>

<div class="container border mt-4">
  <div class="row">
    <div class="col-lg-2">左侧栏</div>
    <div class="col-lg-7">内容</div>
    <div class="col-lg-3">右侧栏</div>
  </div>
</div>

</body>
</html>